package com.kyivmohyla.kma2.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.kyivmohyla.kma2.client.gin.Injector;
import com.kyivmohyla.kma2.client.styles.Resources;

public class MainModule implements EntryPoint {

    @Override
    public void onModuleLoad() {
        Resources.INSTANCE.styles().ensureInjected();

        final Injector injector = Injector.INSTANCE;
        final AppController appController = injector.getAppController();
        appController.go(RootPanel.get());
    }
}
